package com.hc.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Date;

/**
 *@ClassName hc_order
 *@Description 订单表
 *@Author TJ
 *@Date 2022/10/18 19:33
 *@Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Integer id;
    //private Shop shop;//商家
    private Goods goods;//商品
    private Date orderTime;//下单时间
    private BigDecimal originalPrice;//原价
    private Integer num;//数量
    private BigDecimal payment;//实付
    private String status;//状态

    //查询订单时使用
    private String name;//店铺名字
    private BigDecimal price;//商品单价
    private String picture;//商品图片
}
 